import request from '@/utils/request'

export function getNotReviewList(data) {
    return request({
        url: '/post/postReview/query/page',
        method: 'get',
        params: data
    })
}

export function editNotReview(data) {
    return request({
        url: '/post/postReview/updatePostReview',
        method: 'put',
        data
    })
}

export function deleteNotReview(data) {
    return request({
        url: `/post/postReview/deleteById/${data}`,
        method: 'delete',
    })
}

export function getPost(data) {
    return request({
        url: `/post/post/query/detailInfoByPostId/${data}`,
        method: 'get',
    })
}